package com.itheima.Oop02;

public class TestPhone {
    public static void main(String[] args) {
        Phone m1 = new Phone();
        Phone m2 = new Phone();
        //简单
        m1.name = "甲";
        m1.label = "Huawei";
        m1.version = 12;
        m1.price = 7699.9;

        m1.show();
        System.out.println();

        //调用函数实现拨号
        m1.number = "13978263309";

        m2.name = "乙";
        m2.number = "18956249088";
        //默认不忙
        m1.call(m2);
        //变忙再拨
        m2.busy();
        m1.call(m2);
    }
}
